package com.cloudfun.campusshare.common.model.vo;

import com.cloudfun.campusshare.common.constant.LoanStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Created by Huqin on 2020/3/4
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "贷款列表信息")
public class LoanListVO {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("编号")
    private String loanNo;

    @ApiModelProperty("借款人/运营商Id")
    private String borrowerId;

    @ApiModelProperty("借款人/运营商名称")
    private String borrowerName;

    @ApiModelProperty("金融机构/贷款人id")
    private String lenderId;

    @ApiModelProperty("金融机构/贷款人名称")
    private String lenderName;

    @ApiModelProperty("贷款金额")
    private Double loanAmount;

    @ApiModelProperty("关联项目")
    private List<ProjectStatusQueryVO> projects;

    @ApiModelProperty("项目学校id")
    private String projectSchoolId;

    @ApiModelProperty("项目学校名称")
    private String projectSchoolName;

    @ApiModelProperty(value = "状态")
    private LoanStatus status;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("项目到期时间")
    private String projectDueTime;

}
